import axios from '@/utils/request.js'

export function getHotSearch () {
  return axios({
    url: '/search/hot'
  })
}

export function getSearchRes (params) {
  return axios({
    url: '/cloudsearch',
    params
  })
}
